package net.caixiaomi.info.util;


import net.caixiaomi.info.BuildConfig;
import net.caixiaomi.info.app.CommonApp;

/**
 *
 */

public class Constants {
    public static final boolean DEBUG = BuildConfig.DEBUG;
    public static boolean DEBUG_PROXY = CommonApp.STORE.getBoolean(Constants.KEY_DEBUG_PROXY, false);

    public static final String PAGE_SIZE = "20";
    public static final String PGT_STORE = "cxm_store";

    public static final String BASE_URL = DEBUG_PROXY ? "http://39.106.18.39:8765/api/" : "https://api.caixiaomi.net/api/";
//public static final String BASE_URL = DEBUG_PROXY ? "http://39.106.18.39:8765/api/" : "http://39.106.18.39:8765/api/";
//    public static final String BASE_URL = "http://yf.caixiaomi.net/api/";
//    public static final String BASE_H5_URL = DEBUG_PROXY ? "http://39.106.18.39:9805/" : "https://m.caixiaomi.net/";
    public static final String BASE_H5_URL = DEBUG_PROXY ? "http://t1.caixiaomi.net/" : "https://m.caixiaomi.net/";

    public static final String IMG_PER = "cxm_";
    public static final String IMG_EXT = "jpg";

    public final static String ROOT_FILE = "CaiXiaoMi";
    public final static String FILE_STYLE_PIC = "tmpPic";
    public final static String FILE_STYLE_COMMON = "common";
    public final static String DIR_FILE_TEMP_PIC = FILE_STYLE_PIC;
    public final static String DIR_FILE_COMMON = FILE_STYLE_COMMON;


    /*微信配置*/
    public static final String WEIXIN_APP_ID = "wx6c3f43ecb1ff2be2";

    /*Sobot配置*/
    public static final String SOBOT_KEY = "7b732ef68c044f97a50bafff726f18c7";

    public static final int BANK_CARD_MIN_SIZE = 16;

    public static final int FOOTBALL_MAX_SELECT_NUM = 15;//足彩最大选择数量

    public static final String KEY_USER_INFO = "key_user_info";
    public static final String KEY_DEAL_VERSION = "key_deal_version";
    public static final String KEY_HOME_DATA = "key_home_data";
    public static final String KEY_FIRST_OPEN = "key_first_open";
    public static final String KEY_DEBUG_PROXY = "key_debug_proxy";
    public static final String KEY_MESSAGE_NOTICE = "key_message_notice";
    public static final String KEY_BONUS_NOTICE = "key_bonus_notice";
    public static final String KEY_PUSH_CLIENT_ID = "key_push_client_id";


    public static final int TYPE_VICTORY_AND_DEFEAT = 0x000002;//胜平负
    public static final int TYPE_VICTORY_AND_DEFEAT_1 = 0x000001;//让球胜平负
    public static final int TYPE_ALL_GOALS = 0x000004;//总进球数
    public static final int TYPE_HALF_AND_ALL = 0x000005;//半全场
    public static final int TYPE_SCORE = 0x000003;//比分
    public static final int TYPE_2_IN_1 = 0x000007;//2选1
    public static final int TYPE_BLEND = 0x000006;//混合投注
//    public static final int TYPE_LOTTERY_BALL = 0x000010;//

    public static final int TYPE_BALL_LOTTERY= 0x000010;//大乐透

    public static final int ITEM_VIEW_HEADER = 0x11111111;
    public static final int ITEM_VIEW_HEADER1 = 0x33333333;
    public static final int ITEM_VIEW_ITEM = 0x22222222;
    public static final int ITEM_VIEW_FOOTER = 0x44444444;
    public static final int ITEM_VIEW_FOOTER1 = 0x44444445;
    public static final int ITEM_VIEW_FOOTER2 = 0x44444446;
    public static final int ITEM_VIEW_EMPTY = 0x44444447;

    public static final int ITEM_VIEW_ASIA = 0x55555555;
    public static final int ITEM_VIEW_EUROPE = 0x66666666;
    public static final int ITEM_VIEW_DAXIAO = 0x77777777;

    public static final int ITEM_NEWS_NO_IMAGE = 0x11111100;
    public static final int ITEM_NEWS_ONE_IMAGE = 0x11111101;
    public static final int ITEM_NEWS_THREE_IMAGE = 0x11111102;
    public static final int ITEM_NEWS_VEDIO = 0x11111103;

    public static final int ITEM_NEWS_MATHING = 0x11111104;

    public static final int ITEM_MATCH_LIVE0 = 0x12111110;
    public static final int ITEM_MATCH_LIVE0_NODATA = 0x12111115;
    public static final int ITEM_MATCH_LIVE1 = 0x12111111;
    public static final int ITEM_MATCH_LIVE2 = 0x12111112;
    public static final int ITEM_MATCH_LIVE3 = 0x12111113;

    public static final int ITEM_VIEW_MATCH_LINEUP = 0x66666666;
    public static final int ITEM_VIEW_MATCH_LINEUP1 = 0x66666667;

    public static final int ITEM_LOTTERY_BETTING = 0x66666670;
    public static final int ITEM_LOTTERY_BEETTING_MORE = 0x66666671;

    public static final int ITEM_TREND_PRIZE = 0x66666672;
    public static final int ITEM_TREND_HEAT = 0x66666673;

//    public static final int ITEM_TREND_RED_HEAT = 0x66666674;
//    public static final int ITEM_TREND_BLUE_HEAT = 0x66666675;
}
